/** 
 * Project Name : cloudlead-common-api 
 * File Name : ActionHistory.java 
 * Package Name : com.cloudlead.common.worker
 * Date : 2014年7月15日下午5:35:29 
 * Copyright (c) 2014, cloudlead.com.cn All Rights Reserved. 
 * 
 */
package com.cloudlead.common.worker;

/**
 * 动作历史记录
 *
 * @Description 动作历史记录
 * 
 * @date 2014年7月16日 上午9:26:38 
 * @author 陆林(lulin@cloudlead-partners.com)
 * @version 2.0
 * @since 2.0
 */
public class ActionHistory implements Comparable<ActionHistory> {
	private String date;

	private String action;

	private String request;

	private String label;

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	public String getRequest() {
		return request;
	}

	public void setRequest(String request) {
		this.request = request;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	@Override
	public int compareTo(ActionHistory o) {
		return o.date.compareTo(this.date);
	}

}